//
//  MovieModel.m
//  LZMPro
//
//  Created by dllo on 15/11/5.
//  Copyright © 2015年 LZS. All rights reserved.
//

#import "MovieModel.h"
#import "MovieSmallModel.h"

@implementation MovieModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"description"]) {
        self.detailtext = value;
    }
}

//自定义一个方法
-(void)setVedioModelWithDic:(NSMutableDictionary *)dic{
    [self setValuesForKeysWithDictionary:dic];
    
    //定义中间数组
    //    NSMutableArray *tempArray = [NSMutableArray array];
    
    MovieSmallModel *model = [[MovieSmallModel alloc] init];
    [model setValuesForKeysWithDictionary:self.consumption];
    self.smallModel = model;
    
}
@end
